package org.finjic.utils;

import java.util.Collection;
import java.util.Map;

/**
 * User: Taras
 * Date: 01.12.12
 * Time: 17:09
 */
public class CollectionUtils {

    public static boolean isEmpty(Collection c) {
        return c == null || c.isEmpty();
    }

    public static boolean isEmpty(Map m) {
        return m == null || m.isEmpty();
    }
}
